from django.conf.urls.defaults import *

urlpatterns = patterns('',
    (r'^$', 'webcontent.views.shared'),
    (r'^(?P<lang>[e|c]n)/$', 'webcontent.views.shared_with_lang'),
    (r'^shares/$', 'webcontent.views.shares'),
    
    (r'^thumbup/(?P<user_type>[^/]*?)/(?P<shareid>\d+)/$', 'webcontent.views.thumbup'),
    (r'^thumbdown/(?P<user_type>[^/]*?)/(?P<shareid>\d+)/$', 'webcontent.views.thumbdown'),
    (r'^albumpreview/(?P<shareid>\d+)/$', 'webcontent.views.albumpreview'),
    
    (r'^picasa/$', 'webcontent.views.picasa'),
    
    (r'^fetch/$', 'webcontent.views.fetch'),
    (r'^preview/$', 'webcontent.views.preview'),
    (r'^cooliris/$', 'webcontent.views.cooliris'),
    
    (r'^(?P<shareid>\d+)/$', 'webcontent.views.albumxml'),
    
    (r'^hide/(?P<shareid>\d+)/$', 'webcontent.views.hide'),
    (r'^delete/(?P<shareid>\d+)/$', 'webcontent.views.delete'),
)
